widget: Add annotation (allow-none) for set_tooltip_text
authorCole Robinson <crobinso@redhat.com>
Sun, 13 Jan 2013 03:45:28 +0000 (22:45 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 21 Jan 2013 03:03:49 +0000 (22:03 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=691639

gtk/gtkwidget.c

index c00cd25b909a0ca00ec86c947f58eea00f9abc55..ed584eafaac42a2e8531314c0c9a4fdb0d5a4fd5 100644 (file)
@@ -13332,7 +13332,7 @@ gtk_widget_queue_tooltip_query (GtkWidget *widget)
 /**
  * gtk_widget_set_tooltip_text:
  * @widget: a #GtkWidget
- * @text: the contents of the tooltip for @widget
+ * @text: (allow-none): the contents of the tooltip for @widget
  *
  * Sets @text as the contents of the tooltip. This function will take
  * care of setting #GtkWidget:has-tooltip to %TRUE and of the default